package org.example.modules.user.controller;

import com.alibaba.fastjson2.JSONObject;
import lombok.extern.slf4j.Slf4j;
import org.example.modules.user.common.Commsult;
import org.example.modules.user.service.SideJobDetailsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Description SideJobDetailsController
 * @Author xiaotian
 * @Date 2025-05-02
 */
@RestController
@RequestMapping("/wxApi/sideJobDetails")
@Slf4j
public class SideJobDetailsController {

    @Autowired
    private SideJobDetailsService sideJobDetailsService;

    @PostMapping("/updateJobDetaisStatus")
    public Commsult updateJobDetaisStatus(@RequestBody JSONObject data){
        return sideJobDetailsService.updateJobDetaisStatus(data);
    }
}
